package com.xq.dao;

import com.xq.domain.Menu;
import com.xq.domain.Order;
import com.xq.domain.Yuser;
import org.apache.ibatis.annotations.Select;
import org.aspectj.weaver.ast.Or;

import java.util.ArrayList;

public interface UserDao {


    @Select("select * from yuser where yname=#{yname} and ypass=#{ypass}")
    Yuser log(Yuser yuser);



    ArrayList<Order> list(Order order);


    int add(Order order);


    @Select("select * from menu")
    ArrayList<Menu> ss();


}
